package cn.edu.ujn.liuklab3.entity;

import org.springframework.stereotype.Component;

import java.io.Serializable;
@Component
public class Order implements Serializable {
    private static final long serialVersionUID = -51123229632340211L;

    private Integer orderId;

    private Integer userId;

    @Override
    public String toString() {
        return "Order{" +
                "orderId=" + orderId +
                ", userId=" + userId +
                ", restId=" + restId +
                ", orderDate='" + orderDate + '\'' +
                ", money='" + money + '\'' +
                ", start=" + start +
                ", rows=" + rows +
                '}';
    }

    private Integer restId;

    private String orderDate;

    private String money;
    private Integer start;
    private Integer rows;

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getRestId() {
        return restId;
    }

    public void setRestId(Integer restId) {
        this.restId = restId;
    }

    public String getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(String orderDate) {
        this.orderDate = orderDate;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

}

